+Sun Jul 25 19:51:17 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtknotebook.c (gtk_notebook_scroll): Ignore scroll
+ events from the content of the page. (#148409, Gabriel
+ de Perthuis)
+
Sat Jul 24 21:38:12 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (internal_insert_element): Warn if you try to
+Sun Jul 25 19:51:17 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtknotebook.c (gtk_notebook_scroll): Ignore scroll
+ events from the content of the page. (#148409, Gabriel
+ de Perthuis)
+
Sat Jul 24 21:38:12 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (internal_insert_element): Warn if you try to
+Sun Jul 25 19:51:17 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtknotebook.c (gtk_notebook_scroll): Ignore scroll
+ events from the content of the page. (#148409, Gabriel
+ de Perthuis)
+
Sat Jul 24 21:38:12 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (internal_insert_element): Warn if you try to
+Sun Jul 25 19:51:17 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtknotebook.c (gtk_notebook_scroll): Ignore scroll
+ events from the content of the page. (#148409, Gabriel
+ de Perthuis)
+
Sat Jul 24 21:38:12 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (internal_insert_element): Warn if you try to
{
GtkNotebook *notebook = GTK_NOTEBOOK (widget);
+ GtkWidget* child;
+ GtkWidget* originator;
+
+ if (!notebook->cur_page)
+ return FALSE;
+
+ child = notebook->cur_page->child;
+ originator = gtk_get_event_widget ((GdkEvent *)event);
+
+ /* ignore scroll events from the content of the page */
+ if (!originator || gtk_widget_is_ancestor (originator, child))
+ return FALSE;
+
switch (event->direction)
{
case GDK_SCROLL_RIGHT: